<%-- 
    Document   : mainPage
    Created on : May 1, 2013, 9:47:05 PM
    Author     : DIEM PHUONG
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">

<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@taglib uri="http://java.sun.com/jsp/jstl/xml" prefix="x" %>

<%@include file="/WEB-INF/header.jsp" %>
<style type="text/css">
    .table {width: 300px; margin-right: 0px;}
</style> 
<div class="table">
    <ul>
        <c:import var="XML" url="/WEB-INF/productList.xml" charEncoding="UTF-8"/>
        <c:import var="XSL" url="/WEB-INF/classes/XSL/listProduct.xsl" charEncoding="UTF-8"/>
        <x:transform xml="${XML}" xslt="${XSL}"/>
    </ul>
</div>